home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part2 / 10314 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.2 KB  |  32 lines

  1. Newsgroups: comp.sys.amiga.misc
  2. Path: cix.compulink.co.uk!usenet
  3. From: jralph@cix.compulink.co.uk ("Jolyon Ralph")
  4. Subject: Re: There is *NO*  Amiga....STOP IT NOW
  5. Message-ID: <Dp0y3u.F0J@cix.compulink.co.uk>
  6. Organization: Compulink Information eXchange
  7. References: <4jd6um$o1g@mailhub.scitec.com.au>
  8. Date: Fri, 29 Mar 1996 10:21:30 GMT
  9. X-News-Software: Ameol32
  10.  
  11. > The Amiga programming documentation has always said that "pulic" memory 
  12. > should
  13. > be allocated to hold messages. The reasoning behind this is that 
  14. > "public"
  15. > memory would to in an area that was shared between all tasks, hence no
  16. > copying would be needed to pass messages. Thus memory protection would 
  17. > have no
  18. > performance impact on message passing. It will have an impact on task 
  19. > switching
  20. > because there is more to save and restore to switch tasks.
  21.  
  22. But as soon as you do this, the memory protection in the OS is 'nearly 
  23. bombproof' rather than totally bombproof. 
  24.  
  25. I agree it may be the best solution, but it won't be 100% memory 
  26. protection, rogue tasks could still crash and wipe out public memory.
  27.  
  28. Also, it's unfortunate that a significant number of amiga programs 
  29. allocate MEMF_PUBLIC when they really want MEMF_ANY.
  30.  
  31. Jolyon
  32.